home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1985 February
/
1985-02.d64
/
baker's dozen 1
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
1KB
|
32 lines
1 forz=54272to54295:pokez,0:next:poke54296,15:poke54277,4:aa=54272:bb=54273
10 printchr$(147)chr$(5):poke53280,0:poke53281,0:poke54275,8:cc=54276
15 forz=1to10:print:next:printtab(9)"please turn up volume.":print
17 printtab(9)"press run/stop to stop."
18 fort=1to2000:next:printchr$(147)
20 k=int(959*rnd(0))+1024:b=160:c=54272
21 p=int(11*rnd(1))+1:h(1)=int(150*rnd(1))+1:l(1)=int(150*rnd(1))+1
22 q=int(11*rnd(1))+1:h(2)=int(150*rnd(1))+1:l(2)=int(150*rnd(1))+1
23 r=int(11*rnd(1))+1:h(3)=int(150*rnd(1))+1:l(3)=int(150*rnd(1))+1
24 s=int(11*rnd(1))+1:h(4)=int(150*rnd(1))+1:l(4)=int(150*rnd(1))+1
25 t=int(14*rnd(1))+2
26 u=int(14*rnd(1))+2
27 v=int(14*rnd(1))+2
28 w=int(14*rnd(1))+2
30 forx=1top:pokek,b:pokek+c,t:pokeaa,h(1):pokebb,l(1):pokecc,65:k=k+41
40 ifk>1983then100
50 if(k-1063)/40-int((k-1063)/40)=0then300
60 pokecc,64:next
100 forx=1toq:pokek,b:pokek+c,u:pokeaa,h(2):pokebb,l(2):pokecc,65:k=k-39
110 ifk<1064then30
120 if(k-1063)/40-int((k-1063)/40)=0then200
130 pokecc,64:next
200 forx=1tor:pokek,b:pokek+c,v:pokeaa,h(3):pokebb,l(3):pokecc,65:k=k-41
210 ifk<1064then300
220 if(k-1024)/40-int((k-1024)/40)=0then100
230 pokecc,64:next
300 forx=1tos:pokek,b:pokek+c,w:pokeaa,h(4):pokebb,l(4):pokecc,65:k=k+39
310 if(k-1024)/40-int((k-1024)/40)=0then30
320 ifk>1983then200
330 pokecc,64:next
340 goto21